package com.hxkcloud.patient.beans;

import com.google.gson.annotations.Expose;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

import java.util.List;

/**
 * Created by william_sun on 2016-07-22.
 * Description:资讯/课堂文章类别列表
 */
@DatabaseTable
public class ArticleKindBean {
    @DatabaseField
    private String departmentId;
    @DatabaseField
    private String type;//0资讯 1课堂文章
    @DatabaseField
    @Expose
    private String itemId;//
    @DatabaseField
    @Expose
    private String name;//
    @Expose
    private List<ArticleKindChildBean> childList;

    private boolean isSelected;

    private boolean isSelecting;

    public boolean isSelecting() {
        return isSelecting;
    }

    public void setIsSelecting(boolean isSelecting) {
        this.isSelecting = isSelecting;
    }

    public boolean isSelected() {
        return isSelected;
    }

    public void setIsSelected(boolean isSelected) {
        this.isSelected = isSelected;
    }

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<ArticleKindChildBean> getChildList() {
        return childList;
    }

    public void setChildList(List<ArticleKindChildBean> childList) {
        this.childList = childList;
    }

    public String getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(String departmentId) {
        this.departmentId = departmentId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "ArticleKindBean{" +
                "childList=" + childList +
                ", departmentId='" + departmentId + '\'' +
                ", type='" + type + '\'' +
                ", itemId='" + itemId + '\'' +
                ", name='" + name + '\'' +
                ", isSelected=" + isSelected +
                ", isSelecting=" + isSelecting +
                '}';
    }
}
